from random import *
num=0
s=0
while num<6:
    i=randint(1,100)
    if num >= 5:
        print("这局你输了！正确的数是",i)
        break    
    j=input("请输入一个数：")
    a=int(j)   
    if a == i :
        print("棒！你猜对了")  
        num=num+1 
        break
    elif a < i:
        print("比这个大") 
        num=num+1    
        continue
    else:
        print("比这个小")
        num=num+1
        continue
    